package com.ruoyi.guarantee.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 保修管理对象 fz_guarantee
 * 
 * @author ruoyi
 * @date 2020-03-13
 */
public class FzGuarantee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维修编号 */
    private String guaranteeId;

    /** 小区 */
    @Excel(name = "小区")
    private String cId;

    /** 维修师傅id */
    @Excel(name = "维修师傅id")
    private Long mWorker;

    /** 举报人 */
    @Excel(name = "举报人")
    private String gName;

    /** 保修类型 */
    @Excel(name = "保修类型")
    private Integer gType;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 预约时间 */
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentTime;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 创建用户 */
    @Excel(name = "创建用户")
    private String createName;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateName;

    /** 数据状态，详细参考c_status表，0, 在用 1失效 */
    @Excel(name = "数据状态，详细参考c_status表，0, 在用 1失效")
    private String statusCd;

    public void setGuaranteeId(String guaranteeId) 
    {
        this.guaranteeId = guaranteeId;
    }

    public String getGuaranteeId() 
    {
        return guaranteeId;
    }
    public void setcId(String cId) 
    {
        this.cId = cId;
    }

    public String getcId() 
    {
        return cId;
    }
    public void setmWorker(Long mWorker) 
    {
        this.mWorker = mWorker;
    }

    public Long getmWorker() 
    {
        return mWorker;
    }
    public void setgName(String gName) 
    {
        this.gName = gName;
    }

    public String getgName() 
    {
        return gName;
    }
    public void setgType(Integer gType) 
    {
        this.gType = gType;
    }

    public Integer getgType() 
    {
        return gType;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setAppointmentTime(Date appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime() 
    {
        return appointmentTime;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setStatusCd(String statusCd) 
    {
        this.statusCd = statusCd;
    }

    public String getStatusCd() 
    {
        return statusCd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guaranteeId", getGuaranteeId())
            .append("cId", getcId())
            .append("mWorker", getmWorker())
            .append("gName", getgName())
            .append("gType", getgType())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("appointmentTime", getAppointmentTime())
            .append("state", getState())
            .append("content", getContent())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createName", getCreateName())
            .append("updateTime", getUpdateTime())
            .append("updateName", getUpdateName())
            .append("statusCd", getStatusCd())
            .toString();
    }
}
